package com.vishnu.plugin;

import org.apache.struts.action.ActionServlet;
import org.apache.struts.action.PlugIn;
import org.apache.struts.config.ModuleConfig;

public class TestPlugin implements PlugIn {
	
	private String filename;
	
     public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public TestPlugin(){
    	 System.out.println("TestPlugin object is created..........");
     }
	public void init(ActionServlet servlet,ModuleConfig config){
		System.out.println("init() method has executed........");
		
		System.out.println("filename="+filename);
	}
	
public void destroy(){
	System.out.println("destroy() method has executed........");
}
	
}
